package com.zhongbei.mapper;

import com.zhongbei.pojo.New;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NewsMapper {
    int addNews(New news);
    int deleteNews(int id);
    int changeNews(New news);
    List<New> getNews();
    List<New> searchNews(String keyword);
}
